package sz.szsmk.citizencard.model.network.bean.response;

import java.util.List;

/**
 * Copyright (c)2018
 * author: zdh
 * created on: 2018/7/14 10:27
 * description:
 */
public class QueryAdressResponse extends BaseBean {


    /**
     * data : [{"addressId":2,"isDefault":1,"contact":"张三","address":"xx小区","mobile":"18311111111","postcode":"215000","location":"江苏省-南京市-建邺区"},{"addressId":14,"isDefault":0,"contact":"张三","address":"xx小区","mobile":"18311111111","postcode":"215000","location":"江苏省-南京市-建邺区"},{"addressId":19,"isDefault":0,"contact":"ouyang","address":"Hahahah","mobile":"18365267671","postcode":"215000","location":"江苏省-镇江市-润州区"},{"addressId":20,"isDefault":0,"contact":"rrr","address":"Rrr","mobile":"18365267671","postcode":"215000","location":"江苏省-扬州市-邗江区"},{"addressId":21,"isDefault":0,"contact":"qqq","address":"111111","mobile":"18365267671","postcode":"215000","location":"江苏省-苏州市-平江区"}]
     * code : 000000
     * message : 操作成功
     */

    private List<DataBean> data;


    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * addressId : 2
         * isDefault : 1
         * contact : 张三
         * address : xx小区
         * mobile : 18311111111
         * postcode : 215000
         * location : 江苏省-南京市-建邺区
         */

        private int addressId;
        private int isDefault;
        private String contact;
        private String address;
        private String mobile;
        private String postcode;
        private String location;

        public int getAddressId() {
            return addressId;
        }

        public void setAddressId(int addressId) {
            this.addressId = addressId;
        }

        public int getIsDefault() {
            return isDefault;
        }

        public void setIsDefault(int isDefault) {
            this.isDefault = isDefault;
        }

        public String getContact() {
            return contact;
        }

        public void setContact(String contact) {
            this.contact = contact;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getPostcode() {
            return postcode;
        }

        public void setPostcode(String postcode) {
            this.postcode = postcode;
        }

        public String getLocation() {
            return location;
        }

        public void setLocation(String location) {
            this.location = location;
        }
    }
}
